package com.itboye.jinpuyiyuan.bean;



import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 "amount": "1000",  金额
 "amount_refunded": "0",
 "amount_settle": "0",
 "app": "app_7hqF2S6GYXET457i",
 "body": "挂号缴费215366327429091U1143", 详情
 "channel": "alipay_app", 支付类型
 "client_ip": "192.168.20.1",
 "credential": {
 "wechat_app": {
 "timestamp": "1537262038",
 "sign": "609698F19A3F4239B14D25E650313C4C",
 "partnerid": "1324016301",
 "noncestr": "o250881s55i1wytktt1av8elf7j8fy1b",
 "prepayid": "wx1817135811347257878563e81661875465",
 "package": "Sign=WXPay",
 "appid": "wx5269eef08886e3d5"
 }
 },
 "currency": "CNY",
 "description": "",
 "id": "ch_20180911102542MwduQSVmwl",
 "livemode": "",
 "order_no": "215366327429091U1143", //订单号
 "refunds": [],
 "status": "PROCESSING",
 "subject": "挂号缴费215366327429091U1143", 题目
 "time_created": "1536632742000",
 "time_expire": "1536634542000"

 "wx_pay_info": {
 "success": "1",
 "ordersn": "115373509575079U1107",
 "order_arr": {
 "appid": "wx49cccd968b96ff87",
 "noncestr": "7pvgge29br2w1erv5f8qzcz75jn3jhu2",
 "package": "Sign=WXPay",
 "prepayid": "wx19175559186925dd505521b30309077155",
 "partnerid": "1503405741",
 "timestamp": "1537350959",
 "sign": "1E65D0A4D96CB0D128EEE598D8E8A824"
 },
 "data": "预支付完成"
 }

 //alipay
 "body": "挂号缴费115393116517007U1107",
 "subject": "挂号缴费115393116517007U1107",
 "amount": "10",
 "order_code": "115393116517007U1107"
 */
public class PayInfo implements Serializable {

    String amount;
    String order_code;
	String body;
	String subject;
	WxPay wx_pay_info;


	public WxPay getWx_pay_info() {
		return wx_pay_info;
	}

	public void setWx_pay_info(WxPay wx_pay_info) {
		this.wx_pay_info = wx_pay_info;
	}

	public class WxPay implements Serializable{
		String success;
        String ordersn;
        String data;

		public String getSuccess() {
			return success;
		}

		public void setSuccess(String success) {
			this.success = success;
		}

		public String getOrdersn() {
			return ordersn;
		}

		public void setOrdersn(String ordersn) {
			this.ordersn = ordersn;
		}

		public String getData() {
			return data;
		}

		public void setData(String data) {
			this.data = data;
		}

		WechatApp order_arr;

		public WechatApp getOrder_arr() {
			return order_arr;
		}

		public void setOrder_arr(WechatApp order_arr) {
			this.order_arr = order_arr;
		}

		public class WechatApp implements Serializable{

    	    String  timestamp;
			String	sign;
			String	partnerid;
			String	noncestr;
			String	prepayid;
			@SerializedName("package")
			String	pakage;
			String	appid;

			public String getTimestamp() {
				return timestamp;
			}

			public void setTimestamp(String timestamp) {
				this.timestamp = timestamp;
			}

			public String getSign() {
				return sign;
			}

			public void setSign(String sign) {
				this.sign = sign;
			}

			public String getPartnerid() {
				return partnerid;
			}

			public void setPartnerid(String partnerid) {
				this.partnerid = partnerid;
			}

			public String getNoncestr() {
				return noncestr;
			}

			public void setNoncestr(String noncestr) {
				this.noncestr = noncestr;
			}

			public String getPrepayid() {
				return prepayid;
			}

			public void setPrepayid(String prepayid) {
				this.prepayid = prepayid;
			}

			public String getPakage() {
				return pakage;
			}

			public void setPakage(String pakage) {
				this.pakage = pakage;
			}

			public String getAppid() {
				return appid;
			}

			public void setAppid(String appid) {
				this.appid = appid;
			}
		}
	}
	public String getOrder_code() {
		return order_code;
	}

	public void setOrder_code(String order_code) {
		this.order_code = order_code;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}








	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}



}
